<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<c:set value="<%=request.getContextPath()%>" var="ctx"></c:set>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>FactorySite</title>
    <meta name="robots" content="index,follow" />
    <meta name="keywords" content="Ego e cigarette manufacturer, Ego e cigarette factory, Ego e cigarette exporter , china Ego e cigarette,Ego CE4 E Cigarette kit supplier,Ego e cigarette china.Ego e cigarette made in china" />
    <meta name="description" content="high quality Ego e cigarette from China Ego e cigarette manufacturers - buy Ego e cigarette directly from China Ego e cigarette supplier." />
    <link rel="stylesheet" type="text/css" href="${ctx}/resources/site/css/style.css"/>
    <script type="text/javascript" src="http://style.alibaba.com/css/wmq/2v/js/extra/jquery-1.7.1.min.js"></script>
    <script type="text/javascript" src="${ctx}/resources/site/js/jquery.KinSlideshow-1.2.1.min.js"></script>
    <script type="text/javascript" src="${ctx}/resources/site/js/banner.js"></script>
  </head>
  
  <body>
<div id="header">
    <jsp:include page="common/menu.jsp">
    	<jsp:param value="news" name="type"/>
    </jsp:include>
</div>
<!-- 位置链接 -->
<div id="hun"><a href="${ctx}/index.htm">Home</a> > <a href="${ctx}/news/p.htm">Company News</a> > <a href="${ctx}/newsinfo/news-${news.id}.htm">${news.infoTitle}</a></div>
<!-- 内容主体开始 -->
<div id="body">
	<!-- 左侧开始 -->
	<jsp:include page="common/left.jsp"/>
	<!-- 左侧结束 -->
	<!-- 右侧开始 -->
	<div class="right">
		<!-- 新闻列表 -->
		<dl class="dl dl4">
            <dt><h2><a class="a12" title="News">News</a></h2></dt>
            <dd class="ninfo">
                <h1 class="tle">${news.infoTitle}</h1>
                <p class="time">2013-01-25</p>
                <div class="pic"></div>
                <div class="desc">${news.infoContent}</div>
                <div class="tag">
				<strong>Tags : </strong>
					<c:forEach items="${tags}" var="tag">
					<a href="${ctx}/category/cate-${tag.id}/p.htm" title="${tag.categoryName}">${tag.categoryName}</a>
					</c:forEach>
				</div>
        	</dd>
        </dl>
        <!--相关新闻-->
        <dl class="dl dl4">
            <dt><h2><a class="a12">Related News</a></h2></dt>
            <dd>
                <ul class="ls ones">
                	<c:forEach items="${relateNews}" var="relate">
                	<li><a href="${ctx}/newsinfo/news-${relate.id}.htm" title="${relate.infoTitle}">${relate.infoTitle}</a></li>
                	</c:forEach>
            	</ul>
            </dd>
        </dl>
	<br clear="all"/>
	<!-- 右侧结束 -->
</div>
<!-- 内容主体结束 -->
<!-- 底部开始 -->
<jsp:include page="common/bottom.jsp"/>
<!-- 底部结束 -->
</body>
</html>